home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Aminet 1 (Walnut Creek)
/
Aminet - June 1993 [Walnut Creek].iso
/
usenet
/
sources
/
volume90
/
util
/
xsize_1.0
/
xsize.h
< prev
next >
Wrap
C/C++ Source or Header
|
1990-03-03
|
973b
|
33 lines
#include <intuition/intuitionbase.h>
#ifdef AZTEC_C
#include <functions.h>
struct IORequest *CreateExtIO(); /* This is a kludge that is necessary */
/* since this definition is missing from */
/* manx's <functions.h> include file. */
#endif AZTEC_C
#include <devices/input.h>
#include <devices/keymap.h>
#include <devices/console.h>
#include <devices/clipboard.h>
#include <exec/memory.h>
#include <exec/interrupts.h>
#include <graphics/gfxmacros.h>
#include <libraries/dos.h>
#define Create(_Obj) AllocMem((LONG)sizeof(struct _Obj), MEMF_PUBLIC|MEMF_CLEAR)
#define Kill(_Obj) FreeMem(_Obj, (LONG)sizeof(*_Obj))
#define Delete(_Obj) if (_Obj) FreeMem(_Obj, (LONG)sizeof(*_Obj))
#define XSIZERSRC "XSize.resource"
struct XSizeRsrc {
struct Node node;
struct Task *Task;
WORD qual;
};
#define waiting 0
#define startframe 1
#define dragging 2
#define changing 3